/*
 * Copyright (C) 2018 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.wakala.employment.adapter.entity;

/**
 * @author xuexiang
 * @since 2018/8/6 下午6:14
 */
public class LoginInfo {


    //@ApiModelProperty(value = "用户登录密钥")
    private String token;

    //@ApiModelProperty(value = "状态:login-登录，register-注册,start-注册起始页")
    private String type;

    //@ApiModelProperty(value = "注册key")
    private String key;

    //@ApiModelProperty(value = "登录用户Uid")
    private Long uid;

    //@ApiModelProperty(value = "登录用户昵称")
    private String nikeName;

    //@ApiModelProperty(value = "登录用户手机号")
    private String phone;


    public String getToken() {
        return token;
    }

    public LoginInfo setToken(String token) {
        this.token = token;
        return this;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getNikeName() {
        return nikeName;
    }

    public void setNikeName(String nikeName) {
        this.nikeName = nikeName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
